package com.itheima.service.mongo;

import com.itheima.domain.mongo.UserLike;
import com.itheima.vo.PageBeanVo;
import org.springframework.data.mongodb.core.query.Query;

public interface UserLikeService {
    Long queryEachLikeCount(Long userId);

    Long queryLikeCount(Long userId);

    Long queryFanCount(Long userId);


    PageBeanVo queryEachLikeList(Long userId, Integer pageNumber, Integer pageSize);

    PageBeanVo queryLikeList(Long userId, Integer pageNumber, Integer pageSize);

    PageBeanVo queryFanList(Long userId, Integer pageNumber, Integer pageSize);

    PageBeanVo queryList(Query query, Integer page, Integer pageSize);

    Boolean deleteUserLike(Long userId, Long likeUserId);

    String saveUserLike(Long userId, Long likeUserId);

    Boolean isMutualLike(Long userId, Long likeUserId);

    //查询信息
    UserLike find(Long userId, Long likeUserId);
}
